package com.lmsm.common.Response;

import com.lmsm.common.enums.ResultCodeEnum;
import com.lmsm.common.lang.ToString;
import lombok.Data;

/**
 * Created by hgs on 2017/6/25.
 */
@Data
public class BaseResponse extends ToString {
    private static final long serialVersionUID = 8233015811087225744L;
    private boolean status;
    private String message;

    public BaseResponse() {
        status = true;
        message = ResultCodeEnum.SUCCESS.getMessage();
    }

    public BaseResponse(boolean status, String message) {
        this.status = status;
        this.message = message;
    }

}
